using System;
using System.Net;

namespace MonoMobile.Dialogs.Remote.Discovery
{
    public class DataReceivedEventArgs : EventArgs
    {
        public DataReceivedEventArgs()
            : base()
        {
        }

        public DataReceivedEventArgs(byte[] data, EndPoint remoteEndPoint)
            : base()
        {
            Data = data;
            RemoteEndPoint = (IPEndPoint)remoteEndPoint;
        }

        public IPEndPoint RemoteEndPoint { get; set; }

        public byte[] Data { get; set; }
    }
}
